package com.truyen.service;

import java.util.List;

import com.truyen.persistence.entity.Account;
import com.truyen.persistence.entity.BookmarkChapter;
import com.truyen.utils.PagingInfo;


public interface BookmarkChapterService {
	
	// tao moi
	void save(BookmarkChapter entity);

	//tim theo id
	BookmarkChapter findById(Long id);

	//lay tat ca
	List<BookmarkChapter> getAll();

	//xoa bookmarkChapter
	void delete(long id);

	//tim chapter dang theo doi
	List<BookmarkChapter> getLstByAccountWithPaging(Account account,
			PagingInfo pInfo);

	BookmarkChapter findByProperty(String column, Object value);

	BookmarkChapter findByAccountIdTruyenIdChapter(Account account, Long idTruyen, Long idChapter);
	
}
